package com.cwj.designpatterns.abstractfactory;

/**
 * @author chenwujie
 * @date 2021-03-16 10:39
 */
public class JacksFarm implements Farm {
    @Override
    public Fruit createFruit() {
        return new Banana();
    }

    @Override
    public Animal createAnimal() {
        return new Dog();
    }
}
